package thread;

public class Thread1 extends Thread {

  @Override
  public void run() {
    System.out.println("Thread 1");
  }

  public static void main(String[] args) {
    for (int i = 0; i < 10; i++) {
      System.out.println(Thread.currentThread().getName() + i);
      new Thread1().start();
    }
  }
}
